package design.patterns.exercise;

/**
 * @Desc:   饿汉
 * @author: cww
 * @DateTime: 2020-04-17 18:54
 */

public class SingletonHungaryNotSafe {
    public SingletonHungaryNotSafe() {
    }
    private static SingletonHungaryNotSafe instance = new SingletonHungaryNotSafe();

    public static SingletonHungaryNotSafe getInstance(){
        return instance;
    }

}
